package cn.dakaqi.volunteer.certifiecation.services;

import cn.dakaqi.entities.VolunteerCertification;
import cn.dakaqi.utils.exception.ServiceRuntimeException;

/**
 * Created by chunyang on 2016/4/18.
 */
public interface VolunteerCertificationService
{
    public void save(String param)throws ServiceRuntimeException;
    public void save(VolunteerCertification volunteerCertification)throws ServiceRuntimeException;
    public void update(String param)throws ServiceRuntimeException;
    public void update(VolunteerCertification volunteerCertification)throws ServiceRuntimeException;
    void updateStatus(String memberCode,int status,String verfierUser)throws ServiceRuntimeException;
    VolunteerCertification findByMemberCode(String memberCode)throws ServiceRuntimeException;

    VolunteerCertification findOne(long id)throws ServiceRuntimeException;
}
